package com.smartsaas.ugclivii.handler;

import com.smartsaas.ugclivii.ui.UiContext;
import nxopen.NXException;
import nxopen.blockstyler.BlockDialog;
import nxopen.blockstyler.UIBlock;

import java.rmi.RemoteException;

public class KeyboardFocusNotifyImpl implements BlockDialog.KeyboardFocusNotify{
    @Override
    public void keyboardFocusNotify(UIBlock uiBlock, boolean b) throws NXException, RemoteException {
        try
        {
            //---- Enter your callback code here -----
        }
        catch(Exception ex)
        {
            //---- Enter your exception handling code here -----
            UiContext.UI.nxmessageBox().show("系统提示", nxopen.NXMessageBox.DialogType.ERROR, ex.getMessage());
        }
    }
}
